package com.service.wx.client;

import com.service.utils.ResultVo;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient("service-user")
public interface UcenterMemberClient {

    @GetMapping("user/verifyOpenId/{openid}")
    public ResultVo verifyOpenId(@PathVariable String openid);

    @PostMapping("user/wxSave")
    public ResultVo wxSave(@RequestBody Map<String,Object> param);

}
